/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.niedziela12.pai.ejb.reservation.endpoints;

import com.niedziela12.pai.ejb.dto.ReservationDTO;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Kamil
 */
@Local
public interface ReservationEndpointLocal {
    public void addNewReservation(ReservationDTO reservation);
    public void updateReservationInfo(ReservationDTO reservation);
    public void deleteReservation(ReservationDTO reservation);
    public List<ReservationDTO> getReservations(int from, int to);
    public List<ReservationDTO> getAllReservations();
    public int getReservationsCount();
    public ReservationDTO getReservation(Long id);
    public List<ReservationDTO> getReservationForUser(String login);
}
